home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8542 / 8542.xpi / chrome / lastpass.jar / content / sesame.xul < prev    next >
Extensible Markup Language  |  2010-02-14  |  2KB  |  51 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3. <!DOCTYPE dialog SYSTEM "chrome://lastpass/locale/lastpass.dtd">
  4.  
  5. <dialog id="LPSesame"
  6.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.         onload="window_load(document, window);"
  8.         buttons=","
  9.         ondialogaccept="return lpsesameaccept(document,window);"
  10.         ondialogcancel="lpsesamecancel(document,window);return true;"
  11.         >
  12.     
  13.     <script type="application/x-javascript" src="chrome://lastpass/content/getlp.js" />
  14.     <script type="application/x-javascript" src="chrome://lastpass/content/sesame.js" />
  15.     
  16.     <vbox align="center" >
  17.         <hbox align="center">
  18.             <image src="chrome://lastpass/skin/step2.gif" width="150" height="122"/>
  19.             <spacer width="15"/>
  20.             <hbox style="background-color:#eeeeee;">
  21.                 <label width="30"/>
  22.                 <vbox align="left">
  23.                     <label height="15"/>
  24.                     <label id="lpsesame1" height="30"/>
  25.                     <label id="lpsesame2" height="30"/>
  26.                 </vbox>
  27.                 <label width="30"/>
  28.             </hbox>
  29.         </hbox>
  30.         <spacer height="15"/>
  31.         <hbox align="center">
  32.             <image src="chrome://lastpass/skin/icon.gif" />
  33.             <textbox type="password" id="lpsesameotp" width="300" value=""/>
  34.              <button id="lpbutton" oncommand="if(lpsesameaccept(document,window))acceptDialog();"/>
  35.         </hbox>
  36.         <spacer height="15"/>
  37.         <vbox>
  38.             <hbox>
  39.                 <checkbox id="lptrust" oncommand="document.getElementById('labelhbox').hidden=false;"/>
  40.             </hbox>
  41.             <hbox id="labelhbox" hidden="true">
  42.                 <label id="lplabeltext"/><textbox id="trustlabel"/>
  43.             </hbox>
  44.         </vbox>
  45.         <spacer height="15"/>
  46.         <label id="lpsesamelost" class="text-link" onclick="lpsesamelost();cancelDialog();"/>
  47.         <spacer height="30"/>
  48.     </vbox>
  49.     
  50. </dialog>
  51.